package exam6;

/**
 * @author HB
 * @version 1.0
 * @description
 * @date 2021/6/24
 */
public class NewCipherAdapter extends DataOperator{
    private NewCipher cipher;

    public NewCipherAdapter() {
        cipher = new NewCipher();
    }

    @Override
    public String doEncrypt(int key, String ps) {
        return cipher.doEncrypt(key, ps);
    }
}

